<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

    <head>
        <title th:text="${pageTitle}"></title>
        <div data-th-replace="layout/head-top"></div>
    </head>

    <body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
       <th:block th:if="${type}==2">
           <div data-th-replace="common/functionDepict"></div>
       </th:block>
        <div>
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="row">
                        <div class="col-sm-5">
                            <h5>
                                <a th:href="@{/admin/qa/record/queryGainAttendList}">
                                    <span>
                                        <button class="btn btn-white" data-toggle="tooltip" data-placement="top" title="" data-original-title="刷新旁听收益列表">
                                            <i class="fa fa-refresh"></i> 刷新
                                        </button>
                                    </span>
                                </a>
                                <small id="count" th:text="(共0条收益记录)"></small>
                            </h5>
                        </div>
                        <div class="col-sm-3">
                            <form class="search-form" id="search-form">
                                <div class="input-group opSearchBox">
                                    <input placeholder="请输入问题内容" class="input-sm form-control vam common-search-word" type="text" name="questionContext"/>
                                    <span class="input-group-btn"><button id="btn1" type="button" class="btn btn-sm btn-primary vam">搜索</button></span>
                                </div>
                            </form>
                        </div>
                        <div class="col-sm-2 text-center" th:if="${type}==1">
                            <a href="javascript:void(0);" id="advSearchshowBtn" class="vam">高级搜索操作 <i class="fa fa-angle-double-down"></i></a>
                        </div>
                        <div class="col-sm-2" th:if="${type}==2">
                            <button id="cash-withdrawal" class="btn btn-block btn-danger" type="button">
                                <i class="fa fa-rmb"></i> 申请提现
                            </button>
                        </div>
                    </div>
                </div>
                <div class="oc-advSearch-box">
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="pt10">
                                <form role="form" class="form-inline search-form">
                                    <div class="form-group" style="margin-bottom: 10px">
                                        <input placeholder="开始时间" readonly id="startTime" name="beginTime" class="form-control" type="email">
                                        -
                                        <input placeholder="结束时间" readonly id="endTime" name="endTime" class="form-control" type="email">
                                    </div>
                                    <div class="form-group form-box" style="margin-bottom: 10px">
                                        <input placeholder="订单号" name="orderNo" class="form-control" type="email">
                                    </div>
                                    <select class="form-control mb10" name="status">
                                        <option value="0">状态</option>
                                        <option value="1">未提取</option>
                                        <option value="2">已提取</option>
                                    </select>
                                    <div class="form-group form-box" style="margin-bottom: 10px">
                                        <label for="exampleInputEmail2" class="sr-only">问题内容</label>
                                        <input placeholder="请输入问答内容" id="exampleInputEmail2" class="form-control common-search-word" type="email">
                                    </div>
                                    <button id="btn2" class="btn btn-w-m btn-primary" type="button" style="margin-bottom: 10px">搜索</button>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="oc-ibox-content" id="gain-attend-list-context">

                </div>
            </div>
        </div>
    </div>
    <div data-th-replace="layout/head-footer"></div>
    <script type="text/javascript" th:src="@{{path}/admin/libs/plugins/layer/laydate/laydate.js?v={v}(path=${staticPath},v=${v})}"></script>
    <script type="text/javascript" th:src="@{{path}/admin/business/qa/record/qa-gain-attend-record-list.js?v={v}(path=${staticPath},v=${v})}"></script>
    <script type="text/javascript" th:src="@{{path}/common/qrcode/jquery.qrcode.min.js?v={v}(path=${staticPath}, v=${v})}"></script>
    <script type="text/javascript" th:src="@{{path}/admin/business/qa/record/common-cash.js?v={v}(path=${staticPath},v=${v})}"></script>
    <script th:inline="javascript">
        var typeTo =[[ ${type}]];
        var questionId =[[ ${questionId}]];
    </script>
    </body>
</html>